package com.webbei.friendcenter.service.impl;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.webbei.friendcenter.dao.MyFriendCenterDao;
import com.webbei.friendcenter.service.MyFriendCenter;
import com.webbei.pojo.CommentCustomShow;
import com.webbei.pojo.Commission;
import com.webbei.pojo.Customcomment;
import com.webbei.pojo.Customer;
import com.webbei.pojo.Customs;
import com.webbei.pojo.Display;
import com.webbei.pojo.LoveCar;
import com.webbei.pojo.Messages;
import com.webbei.pojo.Orders;
import com.webbei.pojo.Userhot;


public class MyFriendCenterImple implements MyFriendCenter {

	private MyFriendCenterDao friend1;
	public MyFriendCenterDao getFriend1() {
		return friend1;
	}
	public void setFriend1(MyFriendCenterDao friend1) {
		this.friend1 = friend1;
	}
	public List getAllFriendsNameByOwnerName(String ownName) {
		//锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟轿拷锟給wnName锟揭碉拷锟斤拷锟斤拷没锟斤拷锟斤拷械暮锟斤拷锟街达拷械亩锟教拷锟斤拷锟�
		return friend1.getAllFriendsNameByOwnerName(ownName);
	}
	
	public int getMyFriendsCount(String string) {
		return friend1.getMyFriendsCount(string);
	}
	
	public Customer getCustomerByUserName(String uname) {
		return friend1.getCustomerByUserName(uname);
	}
	
	public Userhot getUserhotByUserName(String uname) {
		return friend1.getUserhotByUserName(uname);
	}
	public int getCustomerIDByUserName(String uname) {
		return friend1.getCustomerIDByUserName(uname);
	}
	public List<LoveCar> getLoveCarsbyUserID(int user_id) {
		return friend1.getLoveCarsbyUserID(user_id);
	}
	public List<Userhot> getAllFriendsByUserName(String uname) {
		return friend1.getAllFriendsByUserName(uname);
	}
	
	public List<Orders> getAllcustomsByUserName(String uname) {
		return friend1.getAllcustomsByUserName(uname);
	}
	
	public List<Customcomment> getAllCommentByUsername(String uname) {
		return friend1.getAllCommentByUsername(uname);
	}
	public int InsertNewComment(Long customid, String string,
			String textContent, Date currentDate,int sourse) {
		return friend1.InsertNewComment(customid, string, textContent, currentDate,sourse);
	}
	public List getAllFriendsChangeByOwnName(String string) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsChangeByOwnName(string);
	}
	public List<Display> getAllFriendsChangeShareByOwnName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsChangeShareByOwnName(uname);
	}
	public int  insertMessageEachOther(Messages message) {
		return friend1.insertMessageEachOther(message);
	}
	public List<Messages> getALLMessagesByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getALLMessagesByUserName(uname);
	}
	public List<Orders> getAllcustomsShareByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllcustomsShareByUserName(uname);
	}
	public int addNewFriendByOwnUser(String ownUser, String addUser) {
		return friend1.addNewFriendByOwnUser(ownUser, addUser);
	}
	@Override
	public List<Orders> getCostMoneyMessageByUserName(String uname) {
		return friend1.getCostMoneyMessageByUserName(uname);
	}
	@Override
	public List<CommentCustomShow> getCommentCustomShow(String uname) {
		return friend1.getCommentCustomShow(uname);
	}
	@Override
	public int insertNewReport(String reportName, String beReportName,
			String reprotContent, Date reportTime, int customId) {
		 	return friend1.insertNewReport(reportName, beReportName, reprotContent, reportTime, customId);
		
	}
	@Override
	public int UnameIsSessionNameFriend(String sessionInName, String uname) {
			return friend1.UnameIsSessionNameFriend(sessionInName, uname);
	}
	@Override
	public int checkNameByUname(String uname) {
		// TODO Auto-generated method stub
		return friend1.checkNameByUname(uname);
	}
	@Override
	public List<Commission> getAllCommissionByUserName(String username) {
		// TODO Auto-generated method stub
		return friend1.getAllCommissionByUserName(username);
	}
	@Override
	public boolean IsExistTheUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.IsExistTheUserName(uname);
	}
	@Override
	public List<Customcomment> getALLCommentISShareByUsername(String uname) {
		// TODO Auto-generated method stub
		return  friend1.getALLCommentISShareByUsername(uname);
	}
	@Override
	public List<Orders> getAllMyPartInShareByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllMyPartInShareByUserName(uname);
	}
	@Override
	public List<Customcomment> getAllCommentPartInShareByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllCommentPartInShareByUserName(uname);
	}
	@Override
	public String getCustomUploadFileContentInCustoms(int customId) {
		// TODO Auto-generated method stub
		return friend1.getCustomUploadFileContentInCustoms(customId);
	}
	@Override
	public int CustomUploadFileUpdateByCustomId(int customId,
			String filesFileName) {
		return friend1.CustomUploadFileUpdateByCustomId(customId, filesFileName);
	}
	@Override
	public Customcomment getTheLastCommentByCustomId(Map m) {
		// TODO Auto-generated method stub
		return friend1.getTheLastCommentByCustomId(m);
	}
	@Override
	public int getComemntCountByCustomId(Map m) {
		// TODO Auto-generated method stub
		return friend1.getComemntCountByCustomId(m);
	}
	@Override
	public List<Userhot> getAllFriendsByUserNameOrderBycarBrind(String uname,
			String carBrind) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsByUserNameOrderBycarBrind(uname, carBrind);
	}
	@Override
	public List<Customs> getAllNoPayCanShareCustomByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllNoPayCanShareCustomByUserName(uname);
	}
	@Override
	public List<Customcomment> getALLCommentISNoPayCanShareByUsername(
			String uname) {
		return friend1.getALLCommentISNoPayCanShareByUsername(uname);
	}
	@Override
	public String getCustomUploadFileContent(int customId) {
		return friend1.getCustomUploadFileContent(customId);
	}
	@Override
	public int UploadFileContentInCustomsByCustomId(int customId, String string) {
		return friend1.UploadFileContentInCustomsByCustomId(customId,string);
	}
	@Override
	public List<Customs> getAllMyPartInShareNoPayInCustomByUserName(String uname) {
		return friend1.getAllMyPartInShareNoPayInCustomByUserName(uname);
	}
	@Override
	public List<Customcomment> getTheCommentPartInShareNoPayByUserName(
			String uname) {
		// TODO Auto-generated method stub
		return friend1.getTheCommentPartInShareNoPayByUserName(uname);
	}
	@Override
	public List<Customs> getAllNotBuycustomsByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllNotBuycustomsByUserName(uname);
	}
	@Override
	public List<Customcomment> getAllNotBuyCustomCommentByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllNotBuyCustomCommentByUserName(uname);
	}
	@Override
	public List<Customcomment> getAllCustomShareCommentByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllCustomShareCommentByUserName(uname);
	}
	@Override
	public List<Display> getAllFriendsChangeCustomByOwnName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsChangeCustomByOwnName(uname);
	}
	@Override
	public List<Display> getAllFriendsChangeCustomShareByOwnName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsChangeCustomShareByOwnName(uname);
	}
	@Override
	public List<Commission> getAllCommissionFromCustomByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllCommissionFromCustomByUserName(uname);
	}
	@Override
	public List<Display> getAllPartShareInOrderByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllPartShareInOrderByUserName(uname);
	}
	@Override
	public List<Display> getAllPartShareInCustomByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllPartShareInCustomByUserName(uname);
	}
	@Override
	public List<CommentCustomShow> getCommentOrderShow(String uname) {
		// TODO Auto-generated method stub
		return friend1.getCommentOrderShow(uname);
	}
	
	public int newDesigners(String dmail, String identitycard,
			String newFileName) {
		// TODO Auto-generated method stub
		return friend1.newDesigners(dmail, identitycard, newFileName);
	}
	@Override
	public int NewCustomers(String hpassword,
			String dmail, String truename, String phonenumber, String touImage) {
		return friend1.NewCustomers(hpassword,dmail, truename, phonenumber, touImage);
	}
	@Override
	public int updateCustomersByEmail(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return friend1.updateCustomersByEmail(map);
	}
	
	
	

}
